﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="DatHang-GioHang.aspx.cs" Inherits="Web.DatHang_GioHang" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<title>Giỏ hàng</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Maincontent" runat="server">

<div id="content-giohang">
        <div id="gh"> <p>GIỎ HÀNG</p> </div>
        <div id="hinhsp"> <p>Hình sản phẩm</p> </div>
        <div id="tensp"> <p>Tên sản phẩm</p> </div>
        <div id="dongia"> <p>Đơn giá</p> </div>
        <div id="sl"> <p>Số lượng</p> </div>
        <div id="tt"> <p>Thành Tiền</p> </div>
        <div id="xoa"> <p>Xóa</p> </div>


        <asp:Repeater ID="Repeater3" runat="server">
            <ItemTemplate>
                <div id="gh-hinhsp"> <img src="images/<%# Eval("HinhAnh_SP") %>"/> </div>
                <div id="gh-tensp"> <p><%#Eval ("Ten_SP") %></p> </div>
                <div id="gh-dongia"> <p><%#Eval("GiaBan","{0:0,000}") %></p> </div>
                <div id="gh-sl"> <p><asp:TextBox ID="sl" Text=<%# Eval("SoLuong") %> runat="server"></asp:TextBox></p> </div>
                <div id="gh-tt"> <p><%#Eval("ThanhTien", "{0:0,000}")%></p> </div>
                <div id="gh-xoa"> <p><asp:CheckBox ID="xoa" runat="server" /></p> </div>
            </ItemTemplate>
        </asp:Repeater>


        <div id="gh-button"> 
                <asp:Button ID="buttonTTMH" runat="server" Text="Tiếp tục mua hàng" 
                    onclick="buttonTTMH_Click1" />
        </div>
        <div id="gh-ttt"> Tổng thành tiền: 
            <asp:Label ID="TongTT" runat="server" ForeColor="Red"></asp:Label>
            </br><asp:Button ID="buttonTHDT" runat="server" Text="Tiến hành đặt hàng" 
                onclick="buttonTHDT_Click" />
        </div>
        
</div>
				
</asp:Content>
